/*
 * Copyright (c) 2018-2999 湖南洛云网络科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author Yami
 */
@Data
@ApiModel("我的订单")
public class MyOrderDto {

    @ApiModelProperty(value = "订单项", required = true)
    private List<MyOrderItemDto> orderItemDtos;

    @ApiModelProperty(value = "订单号", required = true)
    private String orderNumber;

    @ApiModelProperty(value = "总价", required = true)
    private Double actualTotal;

    @ApiModelProperty(value = "使用积分", required = true)
    private Integer userScore;

    @ApiModelProperty(value = "订单状态", required = true)
    private Integer status;

    @ApiModelProperty(value = "订单类型(0普通订单 1团购订单 2秒杀订单)", required = true)
    private Integer orderType;

    @ApiModelProperty(value = "退款单类型（1:整单退款,2:单个物品退款）", required = true)
    private Integer refundType;

    @ApiModelProperty(value = "处理退款状态:(1.买家申请 2.卖家接受 3.买家发货 4.卖家收货 5.退款成功 6.买家撤回申请 7.商家拒绝 -1.退款关闭)", required = true)
    private Integer returnMoneySts;

    @ApiModelProperty(value = "配送类型 1:快递 2:自提 3：无需快递", required = true)
    private Integer dvyType;

    @ApiModelProperty(value = "店铺名称", required = true)
    private String shopName;

    @ApiModelProperty(value = "店铺id", required = true)
    private Long shopId;

    @ApiModelProperty(value = "订单运费", required = true)
    private Double freightAmount;

    @ApiModelProperty(value = "订单创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "商品总数", required = true)
    private Integer productNums;

    @ApiModelProperty(value = "用户自提信息")
    private OrderSelfStationDto orderSelfStationDto;

    @ApiModelProperty(value = "用户自提信息")
    private String orderNumbers;

    @ApiModelProperty(value = "用户备注信息")
    private String remarks;

    @ApiModelProperty(value = "协同采购id")
    private String collaborativePurchaseId;
}
